<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/struts-tags" prefix="s" %>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>Review</title>
		<link rel="stylesheet" type="text/css" href="css/coms.css">
		<link type="text/css" href="css/jquery-ui-1.8.13.custom.css" rel="stylesheet" />	
		<script type="text/javascript" src="scripts/jquery-1.5.1.min.js"></script>
		<script type="text/javascript" src="scripts/jquery-ui-1.8.13.custom.min.js"></script>		
	</head>
<body>
	    
<%-- <s:form action="ReviewAction" method="POST"> --%>
	<s:if test="reviewedFileList.size() > 0">
		<table class="mainTable">
			<tr>
				<th>FileID</th>
				<th>FileName</th>
				<!-- <th>AuthorID</th> -->
				<th>Contact</th>
				<th>Category</th>
				<th>Date Of Upload</th>
			</tr>
			<s:iterator value="reviewedFileList" status="status">
			<tr>
				<td><s:property value="fileID" /></td>
				<td><s:property value="fileName" /></td>
				<%-- <td><s:property value="authorID" /></td> --%>
				<td><s:property value="contactPhoneNumber" /></td>
				<td><s:property value="category" /></td>
				<td><s:property value="dateOfUpload" /></td>
				<%-- <td>
					<s:url id="displayReviewDetail" action="displayReviewDetail">
					<s:param name="fileID" value="%{fileID}"></s:param>
					</s:url>
					<s:a id="fileDetail" name="fileDetail" href="%{displayReviewDetail}">Details</s:a>
				</td> --%>
				
				<td>
					<s:url id="printReport" action="printReport">
					<s:param name="fileID" value="%{fileID}"></s:param>
					</s:url>
					<s:a id="printReport" name="printReport" href="%{printReport}">Print Report</s:a>
				</td>
				
			</tr>
			</s:iterator>
		</table>	
	</s:if>
<%-- </s:form> --%>
</body>
</html>